package com.wakey.rtcs.web.service;

import java.util.List;

import com.wakey.rtcs.web.model.User;

public interface UserService {
	
	User getUserById(String userId);
	
	List<User> findAll(User user);
	
	User getUserByLogin(String userName, String userPwd);
	
	int insertUser(String userId, String userName, String userPwd);
	
	int deleteUser(String[] idArray);

	int addUser(String userName, String userPassword, int userType,String email,String nickName);

	void makeOld(Long id);

	int updateUser(Long id, String password);

	int forgetPassword(String userName, String email, String password);

	int addUserObj(User user);

	User queryById(Long id);

	int editUser(User user);
}
